package com.example.spinning.bean;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.sql.Timestamp;

public class EndProductDeliverOrder {
    private int id;
    private String receiver;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Timestamp date;
    private String product_name;
    private String norms;
    private String color;
    private String batch_no;
    private float quantity;
    private float price;
    private float sample_fee;
    private float express_fee;
    private float total_amount;

    public float getTotal_amount() {
        return total_amount;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver;
    }

    public Timestamp getDate() {
        return date;
    }

    public void setDate(Timestamp date) {
        this.date = date;
    }

    public String getProduct_name() {
        return product_name;
    }

    public void setProduct_name(String product_name) {
        this.product_name = product_name;
    }

    public String getNorms() {
        return norms;
    }

    public void setNorms(String norms) {
        this.norms = norms;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getBatch_no() {
        return batch_no;
    }

    public void setBatch_no(String batch_no) {
        this.batch_no = batch_no;
    }

    public float getQuantity() {
        return quantity;
    }

    public void setQuantity(float quantity) {
        this.quantity = quantity;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public void setTotal_amount(float total_amount) {
        this.total_amount = total_amount;
    }

    public float getSample_fee() {
        return sample_fee;
    }

    public void setSample_fee(float sample_fee) {
        this.sample_fee = sample_fee;
    }

    public float getExpress_fee() {
        return express_fee;
    }

    public void setExpress_fee(float express_fee) {
        this.express_fee = express_fee;
    }


    @Override
    public String toString() {
        return "EndProductDeliverOrder{" +
                "id=" + id +
                ", receiver='" + receiver + '\'' +
                ", date=" + date +
                ", product_name='" + product_name + '\'' +
                ", norms='" + norms + '\'' +
                ", color='" + color + '\'' +
                ", batch_no='" + batch_no + '\'' +
                ", quantity='" + quantity + '\'' +
                ", price=" + price +
                ", sample_fee=" + sample_fee +
                ", express_fee=" + express_fee +
                ", total_amount='" + total_amount + '\'' +
                '}';
    }
}
